package com.ityj.yygh.hospital.service;

import com.ityj.yygh.model.hosp.Department;
import com.ityj.yygh.vo.hosp.DepartmentQueryVo;
import com.ityj.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {

    boolean save(Map<String, Object> stringObjectMap);

    Page<Department> findDepartmentByCondition(DepartmentQueryVo departmentQueryVo, Integer pageNum, Integer pageSize);

    boolean remove(String hoscode, String depcode);

    List<DepartmentVo> findDepartmentDetailByHospcode(String hospcode);

    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
